<template>
  <div>
    <router-link to="/">
        <div class="header">   
        <!-- <router-link tag="div" to="/">   -->
            <span class="iconfont back-icon">&#xe771;</span>  
        <!-- </router-link>  -->
        </div>
    </router-link> 
  </div>
</template>

<script>
export default {
  name: 'DetailHeader',
  data(){
    return{
    
    }
  }
}
</script>

<style lang="stylus" scoped>
.header 
    position absolute
    top .2rem
    left .2rem
    width .6rem
    height .6rem
    line-height .6rem
    text-align center
    border-radius .3rem
    background #000
    .back-icon 
        color #fff
</style>